import {requestData} from "./request"
export const method = {
    post(url, data,bool, options = {}) {
        return requestData({ url, data, method: 'POST',bool }, options)
    },
    get(url, data,bool, options = {}) {
        return requestData({ url, data, method: 'GET' ,bool}, options)
    },
	dele(url, data,bool, options = {}) {
	    return requestData({ url, data, method: 'DELETE' }, options)
	}
}